#include "stdafx.h"
#include "CursadeReliveRule.h"
#include "InstanceTouch.h"
DECL_INSTANCE_TOUCH(ETouch_CursadeReliveRule);

struct  CursadeReliveRuleDefReflectionRegister
{
	CursadeReliveRuleDefReflectionRegister()
	{
		REGISTER_REFLECTION_MEMBER(CursadeReliveRule,m_iID,INVALID_ID).Editor_SetAsPrimaryKey();
		REGISTER_REFLECTION_MEMBER(CursadeReliveRule,m_sDisplayName,std::string("DefaultName")).Editor_SetAsDisplayName();
		REGISTER_REFLECTION_MEMBER(CursadeReliveRule,m_bReliveCard,false).Editor_SetAsRaw();
		REGISTER_REFLECTION_MEMBER(CursadeReliveRule,m_fRestoreCardHpPercent,0.f).Editor_SetAsRaw();
		REGISTER_REFLECTION_MEMBER(CursadeReliveRule,m_iRestroeCardHpAdd,0).Editor_SetAsRaw();
		REGISTER_REFLECTION_MEMBER(CursadeReliveRule,m_fRestoreHeroHpPercent,0.f).Editor_SetAsRaw();
		REGISTER_REFLECTION_MEMBER(CursadeReliveRule,m_iRestroeHeroHpAdd,0).Editor_SetAsRaw();
		
		GlobalClassManager::Instance().RegisterClass(CursadeReliveRule::s_GetReflection(),eDefaultDef_CursadeReliveRule);
		GlobalDefManager::Instance().RegisterDefManger(&CursadeReliveRuleManager::Instance());

	}
}___CursadeReliveRuleDefReflectionRegister;

rewrite  void CursadeReliveRule::OnArchieveReaded()
{
}

void CursadeReliveRuleManager::OnArchieveReaded()
{
	__CursadeReliveRuleManager::OnArchieveReaded();
}